package priv.mill.controller;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.HttpRequestHandler;

public class RequestController implements HttpRequestHandler{

	@Override
	public void handleRequest(HttpServletRequest reqs, HttpServletResponse respon) throws ServletException, IOException {
		reqs.setAttribute("myinfo","Hello aray boty!this is request");
		reqs.getRequestDispatcher("/WEB-INF/jsp/Base.jsp").forward(reqs, respon);
	}

}
